package mx.itesm.twritter.client;

import mx.itesm.twritter.shared.ToDraw;
import mx.itesm.twritter.shared.Tweet;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface ParsingServiceAsync {
	void parse(Tweet input, AsyncCallback<ToDraw> callback)
			throws IllegalArgumentException;

	void parse(int i, Tweet tweet, AsyncCallback<ToDraw> asyncCallback)
			throws IllegalArgumentException;
}
